package com.situ.day6;

public class VehicleTest {

	public static void main(String[] args) {
		Vehicle vehicle = new Vehicle();
		vehicle.setSpeed(100);
		vehicle.setSize(10);
		System.out.println(vehicle.getSpeed());
		System.out.println(vehicle.getSize());
		vehicle.speedUp(20);
		System.out.println(vehicle.getSpeed());
		vehicle.speedDown(10);
		System.out.println(vehicle.getSpeed());

	}

}
